package com.zhangshitong.param;

import java.util.List;

import javax.validation.constraints.NotNull;

import lombok.Getter;
import lombok.Setter;

import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * 校验的测试用例
 * @author Joy
 *
 */
@Getter
@Setter
public class TestVo {

	@NotBlank  
	private String msg;
	
	@NotNull
	private Integer id;
	
	//@NotEmpty   //list 或数组的不能为空校验
	private List<String> str;
}
